/*
 * @Description: 
 * @Author: xunzhaotech
 * @Email: luyb@xunzhaotech.com
 * @QQ: 1525572900
 * @Date: 2024-03-31 17:31:44
 * @LastEditTime: 2024-04-14 11:35:46
 * @LastEditors: xunzhaotech
 */
// import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme'
import MicroLayout from './MicroLayout.vue'
import NotFound from './components/NotFound.vue'
import './styles/fonts.css'
// export { default as default } from './without-fonts'
// import Layout from './Layout.vue'
// import DefaultTheme from 'vitepress/theme-without-fonts'
// import './my-fonts.css'
// const route = useRoute()
// console.log(route)
import './styles/custom.css'
// import { h } from 'vue'
export default {
  extends: DefaultTheme,
  Layout: MicroLayout,
  NotFound: NotFound,
  // Layout() {
  //   return h(DefaultTheme.Layout, null, {
  //     // uncomment to test layout slots
  //     // 'home-hero-info': () => h('div', 'hello top'),
  //     'sidebar-top': () => h('div', 'hello top'),
  //     'sidebar-bottom': () => h('div', 'hello bottom'),
  //     'content-top': () => h('h1', 'Announcement!'),
  //     'content-bottom': () => h('div', 'Some ads'),
  //     'aside-top': () => h('div', 'this could be huge'),
  //     'aside-mid': () => h('div', { style: { height: '300px' }}, 'Sponsors'),
  //     'aside-bottom': () => h('div', { style: { height: '300px' }}, 'Sponsors'),
  //   })
  // },
  enhanceApp({ app, router, siteData }) {
    app.component('micro', MicroLayout)
  }
} 
// satisfies Theme
